package com.study.boot.activiti.domain;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 请假实体
 *
 * @author TangFD@HF 2018/5/3
 */
public class Leave implements Serializable {
    @NotEmpty
    String type;
    @NotEmpty
    String time;
    @NotEmpty
    String reason;
    String other;

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Leave{" +
                "other='" + other + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", reason='" + reason + '\'' +
                '}';
    }
}
